package com.itbaizhan.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @author spf
 * @date 2024/2/13
 * @time 16:11
 */
@Getter
@AllArgsConstructor
public enum CodeEnum {

    // 正常
    SUCCESS(200,"OK"),
    // 用户未登录
    TOKEN_ERROR(500, "用户未登录");

    private final Integer code;
    private final String message;
}
